#include <stdio.h>
//标准输⼊输出函数
 
int main(int argc,const char * argv[])
{
 //使⽤getchar函数 从终端获取⼀个字符、
 int ret;
 //ret = getchar();
 //printf("ret = %d,ret = %c",ret,ret);
 int ch1,ch2,ch3;
 ch1 = getchar();
 ch2 = getchar();
 ch3 = getchar();
 printf("ch1 = %d,ch1 = %c\n",ch1,ch1);
 printf("ch2 = %d,ch2 = %c\n",ch2,ch2);
 printf("ch3 = %d,ch3 = %c\n",ch3,ch3);
 //最好⼀次性的输⼊ ,单个输入输出会出问题，将空格和回车算一个字符
 return 0;
}